 |
API Documentation
|
|
|
47 VertexComposition (
bool position,
bool color,
bool uv,
bool normal,
bool tangent,
bool binormal) ;
const InfiniteByteMask & getAsMask() const
VertexComposition(bool position, bool color, bool uv, bool normal, bool tangent, bool binormal)
unsigned short getAsShort() const
unsigned short getVertexPerPrimitive() const
A more generic version of the InfiniteBitMask.
Definition: InfiniteMask.h:15
bool _tangent
Wether the mesh exposes tangents.
Definition: VertexComposition.h:28
unsigned short getComponentPerFormat(FORMAT format) const
FORMAT _binormalFormat
The format of binormals.
Definition: VertexComposition.h:20
unsigned short getTotalComponentNumber() const
PRIMITIVE_TOPOLOGY
Available primitive topologies used within meshes.
Definition: DxDefinesWrapper.h:292
bool _position
Wether the mesh exposes positions.
Definition: VertexComposition.h:24
FORMAT _uvFormat
The format of texture coordinates.
Definition: VertexComposition.h:17
FORMAT _tangentFormat
The format of tangents.
Definition: VertexComposition.h:19
Holds information about the composition of a mesh : the data it offers.
Definition: VertexComposition.h:12
bool _normal
Wether the mesh exposes normals.
Definition: VertexComposition.h:27
FORMAT _positionFormat
The format of positions.
Definition: VertexComposition.h:15
FORMAT _normalFormat
The format of normals.
Definition: VertexComposition.h:18
bool _binormal
Wether the mesh exposes binormals.
Definition: VertexComposition.h:29
unsigned short getAttributeNumber() const
std::string getAsString() const
PRIMITIVE_TOPOLOGY _topology
The topology of the mesh.
Definition: VertexComposition.h:22
bool _uv
Wether the mesh exposes texture coordinates.
Definition: VertexComposition.h:26
FORMAT
Available formats for resources.
Definition: DxDefinesWrapper.h:155
bool _color
Wether the mesh exposes colors.
Definition: VertexComposition.h:25
FORMAT _colorFormat
The format of colors.
Definition: VertexComposition.h:16
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
unsigned short getTotalByteSize() const